package fi.helsinki.cs.ohtu10k.schedule;

/**
 * Custom exception for Time Slot conflicts.
 * @author Jani Rönkä
 *
 */
public class TimeSlotTakenException extends RuntimeException {
	/**
	 * Serial version ID used for serialization.
	 */
	private static final long serialVersionUID = -9026484305740448355L;

	/**
	 * Constructs new TimeSlotTakenException with no messages.
	 */
	TimeSlotTakenException() {
		
	}
	
	/**
	 * Constructs new TimeSlotTakenException with an error message.
	 * @param errorMsg	Error message.
	 */
	TimeSlotTakenException( String errorMsg ) {
		super( errorMsg );
	}
}
